package com.biz.primus.model.member.vo.request;

import com.biz.primus.base.enums.ChannelTypes;
import com.biz.primus.base.global.GlobalValue;
import com.biz.primus.base.global.Ref;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 会员手机验证码登录请求对象
 *
 * @author jun.liu
 * @date 2017年10月22日
 * @reviewer
 * @see
 */
@ApiModel(description = "vo")
@Getter
@Setter
@ToString
public class MemberSmsCodeLoginRequestVo
{

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号",required = true)
    private String mobile;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码",required = true)
    private String smsCode;

    /**
     * 登录IP
     */
    @ApiModelProperty("登录IP")
    private String loginIp;

    /**
     * 纬度
     */
    @ApiModelProperty("纬度")
    @Ref(GlobalValue.lat)
    private BigDecimal loginLat;

    /**
     * 经度
     */
    @ApiModelProperty("经度")
    @Ref(GlobalValue.lon)
    private BigDecimal loginLon;

    /**
     * 登录城市id
     */
    @ApiModelProperty("登录城市id")
    @Ref(GlobalValue.cityId)
    private Long cityId;

    /**
     * 登录渠道
     */
    @ApiModelProperty("登录渠道:\n" +
            "    WEB(1, \"网站应用\"),\n" +
            "    APP(2, \"手机应用\"),\n" +
            "    CUSTOMERCENTER(3, \"客服中心\"),\n" +
            "    POS(4,\"门店POS\")")
    private ChannelTypes channelCode;


}
